import Vue from 'vue';
import VueRouter from 'vue-router';
import axios from '@/util/axios';
import VueAxios from 'vue-axios';

import 'normalize.css';
import Element from 'element-ui';

import discount from '@/component/discount/index.vue';
import { store } from '@/store/notify'
import '@/assets/scss/base.scss';
import { IeRouter } from '@/util/polyfill';

Vue.use(Element);
Vue.use(VueRouter);
Vue.use(VueAxios, axios);


export const vue: Vue = new Vue({
  el: '#app',
  store,
  render: function (createElement) {
    IeRouter.call(this)
    return createElement(discount)
  }
})